Ext.define('HIT.store.CompanyDetail', {
    extend: 'Ext.data.Store',

    requires: [
        'HIT.model.CompanyDetail'
    ],
    
    constructor: function(cfg) {
        var me = this;
        cfg = cfg || {};
        me.callParent([Ext.apply({
            autoLoad: false,      	
            storeId: 'companydetailstoreId',
            model: 'HIT.model.CompanyDetail',
            pageSize: page_size,
            proxy: {
                type: 'ajax',
               
                //url: 'resources/data/DbSourceSettingDetails.json',
                url: 'getCompanyDetail',       
                reader: {
                    type: 'json'  ,
                    root: 'children'
                }
           }
        }, cfg)]);
    }   
     
   
});